package com.fbee.smartcommunities.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fbee.smartcommunities.core.Base;
import java.io.Serializable;
import lombok.*;

/**
 * <p>
 * 订单商品关系表
 * </p>
 *
 * @author 汪佳泉
 * @since 2024-08-27
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName("order_goods")
public class OrderGoods extends Base {

    private static final long serialVersionUID = 1L;

    /**
     * 订单id
     */
    private Long orderId;

    /**
     * 商品id
     */
    private Long goodsId;

    /**
     * 数量
     */
    private Integer count;

    /**
     * 收货状态 0-未收货 1-收货
     */
    private Integer state;


}
